import { beforeEach } from 'vitest';
import { useMapStore } from '@/stores/map';

export function setWallMap() {
  beforeEach(() => {
    const { setupMap } = useMapStore();
    setupMap([
      [1, 1, 1, 1, 1],
      [1, 2, 2, 2, 1],
      [1, 2, 2, 2, 1],
      [1, 2, 2, 2, 1],
      [1, 1, 1, 1, 1],
    ]);
  });
}

export function setNormalMoveMap() {
  beforeEach(() => {
    const { setupMap } = useMapStore();
    setupMap([
      [2, 2, 2],
      [2, 2, 2],
      [2, 2, 2],
    ]);
  });
}
